xen: arm: fix guest register access.
authorIan Campbell <ian.campbell@citrix.com>
Thu, 20 Dec 2012 11:53:08 +0000 (11:53 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 20 Dec 2012 11:53:08 +0000 (11:53 +0000)
commit01775697ca620e7baa43f9eb9c9b07b903c6c3cb
tree87014044cafd3e36fc4184d0863e890c6ef6df3a
parent7a1db56b64749ae54fa5f32f71b115b92f2d64d0
xen: arm: fix guest register access.

We weren't taking the guest mode (CPSR) into account and would always
access the user version of the registers.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/traps.c
xen/arch/arm/vgic.c
xen/arch/arm/vpl011.c
xen/arch/arm/vtimer.c
xen/include/asm-arm/regs.h